import socket

def main():
	host = 'localhost'
	port = 5454
	server = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
	server.bind((host,port))
	while 1:
		print "\nReceived:", server.recv(30) #bytes

if __name__ == '__main__':
	main()